import java.util.*;

public class Adapter extends Project implements IProject {
	
	public Adapter(String name, String description, double rate) {
		super(name, description, rate);
	}
	
	
	public List<Deliverable> getDeliverables() {
		
		Map<Calendar, List<Deliverable>> tmpDev = super.allDeliverables();
		List<Deliverable> res = new LinkedList<Deliverable>(); 
		
		Set<Calendar> cal = tmpDev.keySet();
		
		for(Calendar c : cal) {
			res.addAll(tmpDev.get(c));
		}
		
		return res;
	}
}
